package dobest.ray.com.jiongjiong.activity.action.service;

import android.net.Uri;
import android.os.Bundle;
import android.view.View;

import com.facebook.drawee.view.SimpleDraweeView;

import dobest.ray.com.jiongjiong.R;
import dobest.ray.com.jiongjiong.activity.BaseActivity;
import dobest.ray.com.jiongjiong.views.NavigationBar;

/**
 * Created by Ray on 2016/5/14.
 * https://github.com/ray0807
 */
public class OrganizionDetailsActivity extends BaseActivity implements View.OnClickListener {
    private SimpleDraweeView sdv_view;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_organizion_details);
        findViews();
        init();
        addListeners();
    }

    @Override
    public void findViews() {
        navi = (NavigationBar) findViewById(R.id.navi);
        navi.setTitle("武汉青少年视力防预中心");
        navi.setBackListener(R.mipmap.img_back, "");

        sdv_view = (SimpleDraweeView) findViewById(R.id.sdv_view);
    }

    @Override
    public void init() {
        sdv_view.setImageURI(Uri.parse("http://www.lizhi77.com/uploads/allimg/140930/2-14093010032N14.jpg"));
    }

    @Override
    public void addListeners() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){

        }
    }
}
